.class Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;
.super Lcom/estrongs/android/view/FileGridViewWrapper;
.source "FileExplorerActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Landroid/app/Activity;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;Landroid/content/Context;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p0, p2, p3, p4}, Lcom/estrongs/android/view/FileGridViewWrapper;-><init>(Landroid/content/Context;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;)Landroid/content/Context;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;I)Ljava/lang/String;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;Lcom/estrongs/fs/g;)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->b(Lcom/estrongs/fs/g;)V

    return-void
.end method

.method private b(Lcom/estrongs/fs/g;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/fs/g;)V

    return-void
.end method


# virtual methods
.method public Y()Ljava/lang/String;
    .locals 3

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v1, "PCS_DRIVE_Js1a7M5e_9yAcTvFX/"

    .line 2
    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "PCS_DRIVE_Js1a7M5e_9yAcTvFX"

    const-string v2, "PCS_DRIVE_Js1a7M5e_9yAcTvFX/files"

    .line 3
    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method protected a(Lcom/estrongs/fs/g;Lcom/estrongs/android/util/TypedMap;)V
    .locals 3

    .line 4
    instance-of v0, p1, Lcom/estrongs/fs/impl/local/d;

    if-eqz v0, :cond_0

    .line 5
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->K1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const-string p2, "recycle://"

    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    return-void

    .line 7
    :cond_0
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v0

    const-string v1, "PCS_DRIVE_Js1a7M5e_9yAcTvFX/files/"

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 8
    new-instance v0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$a;

    invoke-direct {v0, p0, p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$a;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;Lcom/estrongs/fs/g;Lcom/estrongs/android/util/TypedMap;)V

    .line 9
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v1

    if-eqz v1, :cond_2

    .line 10
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/pcs/f;->j()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-static {}, Lcom/estrongs/android/ui/pcs/i;->k()Z

    move-result v1

    if-eqz v1, :cond_1

    iget-boolean v1, p0, Lcom/estrongs/android/view/FileGridViewWrapper;->S:Z

    if-nez v1, :cond_1

    .line 11
    new-instance v1, Lcom/estrongs/android/ui/pcs/i;

    iget-object v2, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {v1, v2}, Lcom/estrongs/android/ui/pcs/i;-><init>(Landroid/content/Context;)V

    .line 12
    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/pcs/h;->a(Lcom/estrongs/android/ui/pcs/e$c;)V

    .line 13
    invoke-virtual {v1}, Lcom/estrongs/android/ui/pcs/i;->show()V

    .line 14
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->t:Lcom/estrongs/android/pop/l;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/l;->e(J)V

    goto :goto_1

    .line 15
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->t:Lcom/estrongs/android/pop/l;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->e0()Z

    move-result p1

    if-nez p1, :cond_4

    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->t:Lcom/estrongs/android/pop/l;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->C()Z

    move-result p1

    if-eqz p1, :cond_3

    goto :goto_0

    .line 16
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->o:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$c;

    invoke-direct {p2, p0, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$c;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;Lcom/estrongs/android/ui/pcs/e$c;)V

    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void

    .line 17
    :cond_4
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->o:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$b;

    invoke-direct {p2, p0, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$b;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;Lcom/estrongs/android/ui/pcs/e$c;)V

    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void

    .line 18
    :cond_5
    :goto_1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    .line 19
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_6

    const/4 v1, 0x1

    goto :goto_2

    :cond_6
    const/4 v1, 0x0

    .line 20
    :goto_2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/FexApplication;->k()Z

    move-result v0

    if-eqz v0, :cond_7

    if-eqz v1, :cond_7

    .line 21
    sget-object p2, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;->NETWORK:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;

    .line 22
    iget-object v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;->T0:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {v0, p2}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a(Landroid/content/Context;Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;)Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;

    move-result-object p2

    .line 23
    new-instance v0, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$d;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity$o0$d;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity$o0;Lcom/estrongs/fs/g;)V

    invoke-virtual {p2, v0}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$e;)V

    .line 24
    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a()V

    return-void

    .line 25
    :cond_7
    invoke-super {p0, p1, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/fs/g;Lcom/estrongs/android/util/TypedMap;)V

    return-void
.end method

.method protected a(Les/f70;Ljava/util/List;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/f70;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 26
    invoke-super {p0, p1, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Les/f70;Ljava/util/List;)V

    return-void
.end method

.method protected a(Ljava/util/List;Les/q70;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Les/q70;",
            ")V"
        }
    .end annotation

    .line 27
    invoke-super {p0, p1, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Ljava/util/List;Les/q70;)V

    .line 28
    invoke-static {}, Lcom/estrongs/fs/impl/pcs/b;->o()Lcom/estrongs/fs/impl/pcs/b;

    move-result-object p2

    invoke-interface {p1, p2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_0

    .line 29
    invoke-static {}, Lcom/estrongs/fs/impl/pcs/b;->o()Lcom/estrongs/fs/impl/pcs/b;

    move-result-object p2

    invoke-interface {p1, p2}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    const/4 p2, 0x0

    .line 30
    invoke-static {}, Lcom/estrongs/fs/impl/pcs/b;->o()Lcom/estrongs/fs/impl/pcs/b;

    move-result-object v0

    invoke-interface {p1, p2, v0}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_0
    return-void
.end method
